package com.jade.zsy.base.vo;

import com.jade.bss.base.utils.EntityVo;
import com.jade.zsy.base.common.StatusConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 供应商或者客户
 * User: jinya
 * Date: 2017/6/3
 * Time: 13:01
 * TEL :17701640710   MAIL:2009_jinya@163.com
 * To change this template use File | Settings | File Templates.
 */
@Data
@ApiModel(value ="合作商联系人")
public class PartnerVo  extends EntityVo {
    @ApiModelProperty(value = "类型",hidden = true)
    private int type; /** 类型 **/
    @ApiModelProperty(value = "编号",notes = "编号")
    private String code; /** 编号 **/
    @ApiModelProperty(value = "名称",notes = "名称", required = true)
    private String name; /** 名称 **/
    @ApiModelProperty(value = "分管部门",notes = "分管部门")
    private long orgId; /** 分管部门 **/
    @ApiModelProperty(name = "业务员")
    private long employeeId; /** 业务员 **/
    @ApiModelProperty(name = "单位电话")
    private String tel; /** 单位电话 **/
    @ApiModelProperty(name = "单位地址")
    private String address; /** 单位地址 **/

    @ApiModelProperty(name = "税率")
    private double taxRate=0; /** 税率% **/
    @ApiModelProperty(name = "税号")
    private String taxNo; /** 税号 **/
    @ApiModelProperty(name = "默认开户行")
    private String bank; /** 默认开户行 **/
    @ApiModelProperty(name = "银行账号")
    private String bankNo; /** 银行账号 **/
    @ApiModelProperty(name = "折扣率")
    private double discountRate=0.0; /** 折扣率% **/
    @ApiModelProperty(name = "信用额度")
    private double credits; /** 信用额度 **/
    @ApiModelProperty(name = "助记码")
    private String helpCode; /** 助记码 **/
    @ApiModelProperty(name = "备注")
    private String remark; /** 备注 **/

    @ApiModelProperty(name = "状态")
    private int status= StatusConstant.RECORD_INIT;
    @ApiModelProperty (value = "状态")
    private String statusDesc; /** 状态  0：正常  9：已停用 **/
    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    /** 状态 **/

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public long getOrgId() {
        return orgId;
    }

    public void setOrgId(long orgId) {
        this.orgId = orgId;
    }

    public long getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(long employeeId) {
        this.employeeId = employeeId;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public double getTaxRate() {
        return taxRate;
    }

    public void setTaxRate(double taxRate) {
        this.taxRate = taxRate;
    }

    public String getTaxNo() {
        return taxNo;
    }

    public void setTaxNo(String taxNo) {
        this.taxNo = taxNo;
    }

    public String getBank() {
        return bank;
    }

    public void setBank(String bank) {
        this.bank = bank;
    }

    public String getBankNo() {
        return bankNo;
    }

    public void setBankNo(String bankNo) {
        this.bankNo = bankNo;
    }

    public double getDiscountRate() {
        return discountRate;
    }

    public void setDiscountRate(double discountRate) {
        this.discountRate = discountRate;
    }

    public double getCredits() {
        return credits;
    }

    public void setCredits(double credits) {
        this.credits = credits;
    }

    public String getHelpCode() {
        return helpCode;
    }

    public void setHelpCode(String helpCode) {
        this.helpCode = helpCode;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }
}
